<?php 
!defined('ACCESSING') && die('Hacking attempt');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>管理說明</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script src="../public/js/j.js" type="text/javascript"></script>
<script src="../public/js/comment.func.js" type="text/javascript"></script>
<link href="../public/style/admin.css" type="text/css" rel="stylesheet" />
<style type="text/css">
.table1{border-collapse: collapse;border-top:1px #336699 solid;border-left:1px #336699 solid;border-right:1px #336699 solid}
.table2{border-collapse: collapse;border-left:1px #336699 solid;}
.table2 td,.table3 td{border-bottom:1px #336699 solid;border-right:1px #336699 solid;padding:5px}
.table3{border-collapse: collapse;border-top:1px #336699 solid;border-left:1px #336699 solid;}
.inputtext{height:20px;line-height:20px}
</style>
</head>

<body>
<div align="center" style="margin-top:50px">
<form id="changepassform" method="POST" action="?action=addimages" enctype="multipart/form-data">
	<table width="80%" cellspacing="0" cellpadding="0" id="table1" height="28" border="1" bordercolor="#336699" style="border-collapse: collapse">
		<tr>
			<td bordercolor="#FFFFFF" bgcolor="#E8F1FF" height="26">
			<p align="center">新增圖片</p></td>
		</tr>
	</table>
	<table width="80%" cellspacing="1" cellpadding="3" id="table2" height="227" border="1" bordercolor="#336699">
		<tr>
			<td bordercolor="#FFFFFF" bgcolor="#E8F1FF" height="223" align="center" valign="top">
			<table border="0" width="100%" cellspacing="0" cellpadding="0" class="table1">
				<tr>
					<td bgcolor="#E8F1FF" align="right" width='20%' style="border-right:1px #336699 solid;">
					<font size="2">所屬類別：</font></td>
					<td bgcolor="#FFFFFF" style="text-align:left;padding:5px" width='80%'>
					<select id="category" name="category">
					<?php
						foreach($assArray as $value)
						{
					?>
						<option value="<?php echo $value['aid'];?>"><?php echo $value['atitle'];?></option>
					<?php
						}
					?>
						
                    </select> <span id="titError" class="red">*</span> <a href="javascript:;" onclick="addfileinput()">新增上传栏位</a></td>
				</tr>
			</table>
			<table border="0" width="100%" cellspacing="0" cellpadding="2" class="table3">
				<tr>
					<td bgcolor="#E8F1FF" align="right">
                        <div id="uploadbox">
                            <ul>
                                <li class="left">請選擇要執行的文件：</li>
                                <li class="right"><input type="file" name="upfiles[]" /></li>
                            </ul>
                        </div>
                    </td>
				</tr>
			</table>

			<table border="0" width="100%" cellspacing="0" cellpadding="0" class="table2">
				<tr>
					<td align="center" colspan="2" height="43">
					<input type="hidden" id="key" name="key" value="" />
					<input type="submit" value="確 定 送 出" name="B1" id="B1" /></td>
				</tr>
			</table>
			</td>
		</tr>
	</table>
</form>
</body>
</html>